package com.feige.pojo.dto;

import lombok.Data;

import javax.validation.constraints.Size;

/**
 * @author feige<br />
 * @ClassName: PwdDto <br/>
 * @Description: <br/>
 * @date: 2021/4/21 20:03<br/>
 */
@Data
public class PwdDto {

    @Size(min = 6,max = 16,message = "原密码长度必须为6~16位！")
    private String oldPwd;

    @Size(min = 6,max = 16,message = "新密码长度必须为6~16位！")
    private String newPwd;
}
